chrome.runtime.onMessage.addListener(function (request, sender, sendResponse) {
    if (request.ip) {
      console.log("当前网页的 IP 地址是：" + request.ip);
      // 将 IP 地址传递给 Vue 应用
      window.postMessage({ type: "PAGE_IP", ip: request.ip }, "*");
    }
  });
  